package com.my.code.pool;

/**
 * 直接普通的for循环
 */
public class CommonLoopAcc implements Accumulation {
    @Override
    public long acc(long[] numbs) {
        long sum = 0;
        for (long nub : numbs) {
            sum += nub;
        }
        return sum;
    }
}
